package cn.maiyar.gateway;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 自定义属性绑定值，可通过配置文件配置属性。
 *
 * @author c.c
 **/
@Getter
@Setter
@ConfigurationProperties("meta.gateway.nacos")
@RefreshScope
public class NacosRoutesProperties {
    private String address;
    private String dataId;
    private String groupId;
    private String namespace;
    private long timeout;
}
